<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        var num1 = 100;
        var num2 = 100;
        console.log(num1 == num2); // true
        
        var str1 = "郭达";
        var str2 = "郭达";
        console.log(str1 == str2); //true

        var bool1 = false;
        var bool2 = false;
        console.log(bool1 == bool2); // true

        var obj1 = {name:"郭达"};
        var obj2 = {name:"郭达"};
        console.log(obj1 == obj2); // false

    </script>
</body>
</html>